﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EndlessGalaxy
{
    public class Species
    {
        public string name;
        public List<Cargo> atmorequirements;
        public double atmotolerance;
        public double prefHeat;
        public double heatTolerance;
        public double gravityrequirements;
        public double gravitytolerance;
        public double radiationrequirements;
        public double radationtolerance;

        public Species(Planet homeworld)
        {
            atmorequirements = homeworld.AtmoBottom();
            atmotolerance = homeworld.roughness;
            prefHeat = homeworld.aveTemp;
            heatTolerance = homeworld.roughness;
            gravityrequirements = homeworld.gravity;
            gravitytolerance = 0.5;//Make random
            radiationrequirements = homeworld.radiation;
            radationtolerance = 0.5;//make random
        }
    }
}
